home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMHTMLEmbedElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  7KB  |  207 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMHTMLEmbedElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMHTMLEmbedElement_h__
  6. #define __gen_nsIDOMHTMLEmbedElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMHTMLElement_h__
  10. #include "nsIDOMHTMLElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMHTMLEmbedElement */
  19. #define NS_IDOMHTMLEMBEDELEMENT_IID_STR "123f90ab-15b3-11d2-456e-00805f8add32"
  20.  
  21. #define NS_IDOMHTMLEMBEDELEMENT_IID \
  22.   {0x123f90ab, 0x15b3, 0x11d2, \
  23.     { 0x45, 0x6e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  24.  
  25. /**
  26.  * The nsIDOMHTMLEmbedElement interface is the interface to a [X]HTML
  27.  * embed element.
  28.  *
  29.  * Note that this is not a W3C standard interface, it is Mozilla
  30.  * proprietary.
  31.  *
  32.  * @status FROZEN
  33.  */
  34. class NS_NO_VTABLE nsIDOMHTMLEmbedElement : public nsIDOMHTMLElement {
  35.  public: 
  36.  
  37.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLEMBEDELEMENT_IID)
  38.  
  39.   /* attribute DOMString align; */
  40.   NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
  41.   NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
  42.  
  43.   /* attribute DOMString height; */
  44.   NS_IMETHOD GetHeight(nsAString & aHeight) = 0;
  45.   NS_IMETHOD SetHeight(const nsAString & aHeight) = 0;
  46.  
  47.   /* attribute DOMString name; */
  48.   NS_IMETHOD GetName(nsAString & aName) = 0;
  49.   NS_IMETHOD SetName(const nsAString & aName) = 0;
  50.  
  51.   /* attribute DOMString src; */
  52.   NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
  53.   NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
  54.  
  55.   /* attribute DOMString type; */
  56.   NS_IMETHOD GetType(nsAString & aType) = 0;
  57.   NS_IMETHOD SetType(const nsAString & aType) = 0;
  58.  
  59.   /* attribute DOMString width; */
  60.   NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
  61.   NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
  62.  
  63. };
  64.  
  65. /* Use this macro when declaring classes that implement this interface. */
  66. #define NS_DECL_NSIDOMHTMLEMBEDELEMENT \
  67.   NS_IMETHOD GetAlign(nsAString & aAlign); \
  68.   NS_IMETHOD SetAlign(const nsAString & aAlign); \
  69.   NS_IMETHOD GetHeight(nsAString & aHeight); \
  70.   NS_IMETHOD SetHeight(const nsAString & aHeight); \
  71.   NS_IMETHOD GetName(nsAString & aName); \
  72.   NS_IMETHOD SetName(const nsAString & aName); \
  73.   NS_IMETHOD GetSrc(nsAString & aSrc); \
  74.   NS_IMETHOD SetSrc(const nsAString & aSrc); \
  75.   NS_IMETHOD GetType(nsAString & aType); \
  76.   NS_IMETHOD SetType(const nsAString & aType); \
  77.   NS_IMETHOD GetWidth(nsAString & aWidth); \
  78.   NS_IMETHOD SetWidth(const nsAString & aWidth); 
  79.  
  80. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  81. #define NS_FORWARD_NSIDOMHTMLEMBEDELEMENT(_to) \
  82.   NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
  83.   NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
  84.   NS_IMETHOD GetHeight(nsAString & aHeight) { return _to GetHeight(aHeight); } \
  85.   NS_IMETHOD SetHeight(const nsAString & aHeight) { return _to SetHeight(aHeight); } \
  86.   NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
  87.   NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
  88.   NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \
  89.   NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } \
  90.   NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
  91.   NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
  92.   NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
  93.   NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); } 
  94.  
  95. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  96. #define NS_FORWARD_SAFE_NSIDOMHTMLEMBEDELEMENT(_to) \
  97.   NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
  98.   NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
  99.   NS_IMETHOD GetHeight(nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
  100.   NS_IMETHOD SetHeight(const nsAString & aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHeight(aHeight); } \
  101.   NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  102.   NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  103.   NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \
  104.   NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \
  105.   NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  106.   NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  107.   NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  108.   NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); } 
  109.  
  110. #if 0
  111. /* Use the code below as a template for the implementation class for this interface. */
  112.  
  113. /* Header file */
  114. class nsDOMHTMLEmbedElement : public nsIDOMHTMLEmbedElement
  115. {
  116. public:
  117.   NS_DECL_ISUPPORTS
  118.   NS_DECL_NSIDOMHTMLEMBEDELEMENT
  119.  
  120.   nsDOMHTMLEmbedElement();
  121.  
  122. private:
  123.   ~nsDOMHTMLEmbedElement();
  124.  
  125. protected:
  126.   /* additional members */
  127. };
  128.  
  129. /* Implementation file */
  130. NS_IMPL_ISUPPORTS1(nsDOMHTMLEmbedElement, nsIDOMHTMLEmbedElement)
  131.  
  132. nsDOMHTMLEmbedElement::nsDOMHTMLEmbedElement()
  133. {
  134.   /* member initializers and constructor code */
  135. }
  136.  
  137. nsDOMHTMLEmbedElement::~nsDOMHTMLEmbedElement()
  138. {
  139.   /* destructor code */
  140. }
  141.  
  142. /* attribute DOMString align; */
  143. NS_IMETHODIMP nsDOMHTMLEmbedElement::GetAlign(nsAString & aAlign)
  144. {
  145.     return NS_ERROR_NOT_IMPLEMENTED;
  146. }
  147. NS_IMETHODIMP nsDOMHTMLEmbedElement::SetAlign(const nsAString & aAlign)
  148. {
  149.     return NS_ERROR_NOT_IMPLEMENTED;
  150. }
  151.  
  152. /* attribute DOMString height; */
  153. NS_IMETHODIMP nsDOMHTMLEmbedElement::GetHeight(nsAString & aHeight)
  154. {
  155.     return NS_ERROR_NOT_IMPLEMENTED;
  156. }
  157. NS_IMETHODIMP nsDOMHTMLEmbedElement::SetHeight(const nsAString & aHeight)
  158. {
  159.     return NS_ERROR_NOT_IMPLEMENTED;
  160. }
  161.  
  162. /* attribute DOMString name; */
  163. NS_IMETHODIMP nsDOMHTMLEmbedElement::GetName(nsAString & aName)
  164. {
  165.     return NS_ERROR_NOT_IMPLEMENTED;
  166. }
  167. NS_IMETHODIMP nsDOMHTMLEmbedElement::SetName(const nsAString & aName)
  168. {
  169.     return NS_ERROR_NOT_IMPLEMENTED;
  170. }
  171.  
  172. /* attribute DOMString src; */
  173. NS_IMETHODIMP nsDOMHTMLEmbedElement::GetSrc(nsAString & aSrc)
  174. {
  175.     return NS_ERROR_NOT_IMPLEMENTED;
  176. }
  177. NS_IMETHODIMP nsDOMHTMLEmbedElement::SetSrc(const nsAString & aSrc)
  178. {
  179.     return NS_ERROR_NOT_IMPLEMENTED;
  180. }
  181.  
  182. /* attribute DOMString type; */
  183. NS_IMETHODIMP nsDOMHTMLEmbedElement::GetType(nsAString & aType)
  184. {
  185.     return NS_ERROR_NOT_IMPLEMENTED;
  186. }
  187. NS_IMETHODIMP nsDOMHTMLEmbedElement::SetType(const nsAString & aType)
  188. {
  189.     return NS_ERROR_NOT_IMPLEMENTED;
  190. }
  191.  
  192. /* attribute DOMString width; */
  193. NS_IMETHODIMP nsDOMHTMLEmbedElement::GetWidth(nsAString & aWidth)
  194. {
  195.     return NS_ERROR_NOT_IMPLEMENTED;
  196. }
  197. NS_IMETHODIMP nsDOMHTMLEmbedElement::SetWidth(const nsAString & aWidth)
  198. {
  199.     return NS_ERROR_NOT_IMPLEMENTED;
  200. }
  201.  
  202. /* End of implementation class template. */
  203. #endif
  204.  
  205.  
  206. #endif /* __gen_nsIDOMHTMLEmbedElement_h__ */
  207.